LaStudioKitExtensions\Swatches\Module D

Total Complexity 232
Dependencies 5
Dependents 0
Total lines 1,252
Lines of code 1,092
Logical lines of code 508
Comment lines 44
Methods 40
Properties 0

Methods 40

Method Rating Maintainability Complexity Lines of code
ajax_swatches_get_variation_attributes()
C
35 26 82
override_dropdown_attributes()
B
34 21 85
render_swatches_item_by_attribute__bk()
B
41 16 50
render_swatches_item_by_attribute()
A
42 15 47
render_dropdown_variation()
A
45 15 36
get_all_variation_image_ids()
A
41 12 57
render_360_and_video_metabox()
A
40 11 64
render_radio_variation()
A
45 13 34
render_360_and_video_frontend()
A
46 10 36
get_available_variations()
A
45 9 39
get_all_variation_image_sizes()
A
40 7 60
admin_enqueue()
A
47 7 36
get_control_data_for_js()
S
36 1 118
flush_variation_gallery_cache()
S
54 7 19
get_product_variation_image_url_by_attribute()
S
55 6 18
init_term_metaboxes()
S
42 3 57
get_product_images_by_variations()
S
60 5 14
show_column_swatches_type()
S
54 4 19
get_cache_key()
S
59 4 14
save_metabox()
S
61 4 12
render_variation_gallery()
S
55 3 21
render_swatches_in_product_listing()
S
58 3 15
is_active()
S
69 4 6
save_360_and_video_metabox()
S
59 3 15
post_class()
S
67 3 7
ajax_get_product_variations()
S
66 3 8
get_variation_image_src()
S
51 1 29
render_swatches_in_shortcode()
S
61 2 13
__construct()
S
53 1 21
flush_all_gallery_cache()
S
65 2 9
save_gallery_variation()
S
70 2 6
increase_ajax_variation_threshold()
S
79 1 3
increase_ajax_variation_threshold_in_list()
S
79 1 3
add_gallery_to_json()
S
72 1 5
register_ajax_actions()
S
74 1 4
add_page_template()
S
71 1 6
add_swatches_to_product_tab_panel()
S
87 1 3
modify_swatches_style_in_product_listing()
S
82 1 3
add_swatches_to_product_tab()
S
65 1 9
frontend_enqueue()
S
67 1 9